#ifndef C_QCOLOR_H
#define C_QCOLOR_H

/****************************************************************************
** QColor C bindings generated from reading C++ file 'qcolor.h'
**
** Created: Tue Jul 30 19:22:29 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QColorH QColor_create();
C_EXPORT void QColor_destroy(QColorH handle);
C_EXPORT QColorH QColor_create2(int r, int g, int b);
C_EXPORT QColorH QColor_create3(int x, int y, int z, QColorSpec p4);
C_EXPORT QColorH QColor_create4(QRgbH rgb, uint pixel);
C_EXPORT QColorH QColor_create5(PWideString name);
C_EXPORT QColorH QColor_create6(const char* name);
C_EXPORT QColorH QColor_create7(const QColorH p1);
C_EXPORT bool QColor_isValid(QColorH handle);
C_EXPORT bool QColor_isDirty(QColorH handle);
C_EXPORT void QColor_name(QColorH handle, PWideString retval);
C_EXPORT void QColor_setNamedColor(QColorH handle, PWideString name);
C_EXPORT void QColor_rgb(QColorH handle, int* r, int* g, int* b);
C_EXPORT void QColor_rgb2(QColorH handle, QRgbH retval);
C_EXPORT void QColor_setRgb(QColorH handle, int r, int g, int b);
C_EXPORT void QColor_setRgb2(QColorH handle, QRgbH rgb);
C_EXPORT int QColor_red(QColorH handle);
C_EXPORT int QColor_green(QColorH handle);
C_EXPORT int QColor_blue(QColorH handle);
C_EXPORT void QColor_hsv(QColorH handle, int* h, int* s, int* v);
C_EXPORT void QColor_getHsv(QColorH handle, int* h, int* s, int* v);
C_EXPORT void QColor_setHsv(QColorH handle, int h, int s, int v);
C_EXPORT void QColor_light(QColorH handle, QColorH retval, int f);
C_EXPORT void QColor_dark(QColorH handle, QColorH retval, int f);
C_EXPORT bool QColor_lazyAlloc();
C_EXPORT void QColor_setLazyAlloc(bool p1);
C_EXPORT uint QColor_alloc(QColorH handle);
C_EXPORT uint QColor_pixel(QColorH handle);
C_EXPORT int QColor_maxColors();
C_EXPORT int QColor_numBitPlanes();
C_EXPORT int QColor_enterAllocContext();
C_EXPORT void QColor_leaveAllocContext();
C_EXPORT int QColor_currentAllocContext();
C_EXPORT void QColor_destroyAllocContext(int p1);


C_EXPORT void QColor_initialize();
C_EXPORT void QColor_cleanup();

#endif
